package com.huyaanalysisplatform.service;

import com.huyaanalysisplatform.common.Result;
import com.huyaanalysisplatform.entity.TUser;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Huadi Group 12
 * @since 2021-08-01
 */
public interface TUserService extends IService<TUser> {
    Result register(TUser tUser);

    Result loginByEmail(String email, String password);

    Result loginByPhone(String phone, String password);

    Result edit(TUser tUser);

}
